const strToJson = require('@/utils/strToJson');
export default {
  beforeRouteEnter(to, from, next) {
    next((instance) => instance.$router.replace(strToJson.strToJson(from.params.route)));
  },
  render: (h) => h(),
};
